package com.sian.datasource;
import java.sql.Array;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;

/**
 *@see 工程类的实现借口
 *@author desert
 *@version 1.0
 */
public interface C1Factory {
	
	    public C1Factory getOptions() throws SQLException;
	    public Connection getConnection(Connection conn) throws SQLException;
	    public PreparedStatement getPreparedStatement(PreparedStatement real, C1Connection conn, String p0) throws SQLException;
	    public Statement getStatement(Statement real, C1Connection conn) throws SQLException;
	    public CallableStatement getCallableStatement(CallableStatement real, C1Connection conn, String p0) throws SQLException;
	    public DatabaseMetaData getDatabaseMetaData(DatabaseMetaData real, C1Connection conn) throws SQLException;
	    public ResultSet getResultSet(ResultSet real, C1Statement statement, String preparedQuery, String query) throws SQLException;
	    public Array getArray(Array real, C1Statement statement, String preparedQuery, String query) throws SQLException;
	    public ResultSetMetaData getResultSetMetaData(ResultSetMetaData real) throws SQLException;
	

}
